package com.sunl.mall.ali.mq.autoconfigure.annotation;


import java.lang.annotation.*;

/**
 * 消费者
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface MqOrderConsumer {
    /**
     * 创建一个beanName是{@link this#group}值的{@link com.sunl.mall.ali.mq.consumer.RocketMqOrderConsumerBean}
     *
     * @return simple consumerBeanName
     */
    String group() default "defaultOrderConsumer";
}
